package com.health.pojo;

import java.util.List;


public class Users {
    private Integer userId;
    private String userAccount;
    private String userName;
    private String userGender;
    private String userPassword;
    private String userImg;

    //  多对多
    private List<HealthAttributes> healthAttributesList;
    private List<ExamineOrder> examineOrders;


    public Users(String userAccount, String userPassword) {
        this.userAccount = userAccount;
        this.userPassword = userPassword;
    }

    @Override
    public String toString() {
        return "Users{" +
                "userId=" + userId +
                ", userAccount='" + userAccount + '\'' +
                ", userName='" + userName + '\'' +
                ", userGender='" + userGender + '\'' +
                ", userPassword='" + userPassword + '\'' +
                ", userImg='" + userImg + '\'' +
                ", healthAttributesList=" + healthAttributesList +
                ", examineOrders=" + examineOrders +
                '}';
    }

    public Users() {

    }

    public Users(Integer userId, String userAccount, String userName, String userGender, String userPassword, String userImg, List<HealthAttributes> healthAttributesList, List<ExamineOrder> examineOrders) {
        this.userId = userId;
        this.userAccount = userAccount;
        this.userName = userName;
        this.userGender = userGender;
        this.userPassword = userPassword;
        this.userImg = userImg;
        this.healthAttributesList = healthAttributesList;
        this.examineOrders = examineOrders;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public String getUserAccount() {
        return userAccount;
    }

    public void setUserAccount(String userAccount) {
        this.userAccount = userAccount;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getUserGender() {
        return userGender;
    }

    public void setUserGender(String userGender) {
        this.userGender = userGender;
    }

    public String getUserPassword() {
        return userPassword;
    }

    public void setUserPassword(String userPassword) {
        this.userPassword = userPassword;
    }

    public String getUserImg() {
        return userImg;
    }

    public void setUserImg(String userImg) {
        this.userImg = userImg;
    }

    public List<HealthAttributes> getHealthAttributesList() {
        return healthAttributesList;
    }

    public void setHealthAttributesList(List<HealthAttributes> healthAttributesList) {
        this.healthAttributesList = healthAttributesList;
    }

    public List<ExamineOrder> getExamineOrders() {
        return examineOrders;
    }

    public void setExamineOrders(List<ExamineOrder> examineOrders) {
        this.examineOrders = examineOrders;
    }
}
